using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.Media;
using Microsoft.Xna.Framework.Net;
using Microsoft.Xna.Framework.Storage;

namespace XnaUtility.AI.FSM
{
    abstract public class FSM_State
    {
        abstract public void OnEnter();
        abstract public void OnExit();
        abstract public void Update(GameTime gameTime);
        abstract public void Init();
        abstract public int CheckTransitions();

        protected IBrain brain;
        protected int _stateID;

        //read only
        public int StateID
        {
            get
            {
                return _stateID;
            }
        }

        //constructor
        public FSM_State(IBrain newBrain)
        {
            brain = newBrain;
        }
    }
}
